Revenue\Revenue_Buy_X_Get_Y B

Total Complexity 82
Dependencies 0
Dependents 1
Total lines 577
Lines of code 271
Logical lines of code 179
Comment lines 195
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
render_views()
A
42 13 58
set_price_on_cart()
A
45 13 40
get_y_item_price()
A
45 13 39
add_to_cart()
A
44 11 45
is_eligible_for_discount()
A
55 9 18
after_trigger_product_added_to_cart()
A
49 8 28
cart_item_price()
S
62 5 10
set_cart_item_quantity()
S
69 3 6
output_inpage_views()
S
68 2 7
output_popup_views()
S
70 2 6
output_floating_views()
S
70 2 6
init()
S
65 1 8